/**
 * 登录涉及的接口封装
 */
const request = require('../utils/request')

const loginApi = (params) => {
    return request.get('https://api.weixin.qq.com/sns/jscode2session', { params })
}

module.exports = { loginApi }